﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="Teacher.aspx.cs" Inherits="finalexam.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    
    <div style="height: 450px; width: 1000px; float: left; ">
        <div style="float: right; width: 140px;">

                <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem>春天</asp:ListItem>
                    <asp:ListItem>夏天</asp:ListItem>
                    <asp:ListItem>秋天</asp:ListItem>
                    <asp:ListItem>冬天</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="Button1" runat="server"  Text="确认" OnClick="Button1_Click" />

            </div><br />
    <div style="height: 450px; width: 1000px; float: right; ">
        &nbsp;<asp:Label ID="Label15" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#0066CC" Text="个人资料："></asp:Label>
        &nbsp;&nbsp;&nbsp;
        <br />
        <br />
&nbsp;<asp:Label ID="Label1" runat="server" Font-Bold="False" ForeColor="Black" Text="教工号"></asp:Label>
        &nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtNo" runat="server"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label2" runat="server" Text="姓名"></asp:Label>
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        &nbsp;
        <asp:Label ID="Label3" runat="server" Text="性别"></asp:Label>
        <asp:TextBox ID="txtGender" runat="server"></asp:TextBox>
        &nbsp;
        <asp:Label ID="Label4" runat="server" Text="籍贯"></asp:Label>
        <asp:TextBox ID="txtNatPlace" runat="server"></asp:TextBox>
        <br />
        <br />
&nbsp;<asp:Label ID="Label5" runat="server" Text="出生日期"></asp:Label>
        <asp:TextBox ID="txtBirth" runat="server" Width="124px"></asp:TextBox>
        &nbsp;&nbsp;
        <asp:Label ID="Label6" runat="server" Text="教学课程"></asp:Label>
        <asp:TextBox ID="txtCourse" runat="server"></asp:TextBox>
        &nbsp;
        <asp:Label ID="Label7" runat="server" Text="备注"></asp:Label>
        <asp:TextBox ID="txtMemo" runat="server"></asp:TextBox>
        <br />
        <br />
        &nbsp;
        <asp:Button ID="BntRead" runat="server" Text="查询" OnClick="BntRead_Click" style="width: 40px" />
        &nbsp;
        <asp:Button ID="BntUpdate" runat="server" Text="修改" OnClick="BntUpdate_Click" />
        &nbsp;
        <asp:Label ID="Label8" runat="server" ForeColor="#FF6600"></asp:Label>
        <br />
        <br />
        <br />
        <div style="height: 270px; width: 850px; float: left; ">
        
            &nbsp;<asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#0066CC" Text="查看所有人："></asp:Label>
        <asp:Button ID="BntRead1" runat="server" Text="确认查询" Width="81px" OnClick="BntRead1_Click" />
            <br />
            <br />
            <div style="height: 187px; width: 810px; float: right;">
       
                <asp:GridView ID="GridView1" runat="server" Height="157px" Width="623px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <RowStyle ForeColor="#000066" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#007DBB" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#00547E" />
                </asp:GridView>
                <br />
                <br />
            
            </div>
            <br />
            <br />
        </div>
  </div>
        </div>
</asp:Content>
